package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 刘昱江
 * 时间 2021/4/7
 */
@Data
@Accessors(chain = true)
@TableName("collect")
public class Collect extends BasePojo{
    @TableId(value = "collect_id",type = IdType.AUTO)
    private Integer collectId;
    private Integer userId;       //父级id,与user表id关联
    private String favoriteName;   //收藏夹的名字
    private String favorite;      //收藏夹的收藏(一个集合或数组)
    private Boolean status;     //状态信息    0 下架 1 上架



}
